//	--------------------------------------------------------------------
//	Copyright(C) 2006,2007 Zhao Yukun. All rights reserved.
//	This file is a part of the Xeres system.
//	Xeres 2007
//	Contact : xeres.engine@gmail.com
//	$(reservedInfo)
//	$(reservedDeclaration)
//	--------------------------------------------------------------------
///	@file	<input_handler.h>
///	@path	~/src/appear/app/
///	@date	2007/11/06
///	@desc	Input event handler interface.

#pragma once

#include "xeres.h"

#include "gui/input/input.h"

namespace xeres {

	/*!
		\class	InputHandler
		\brief	Input message handler interface.
				Derived from this class to implement input handling behavior.
	*/
	class InputHandler
	{
	public:

		/// \ctor
		InputHandler( void ) {}

		/// \dtor
		virtual ~InputHandler( void ) {}

	//@ interface

		/*!
			\brief		Process key input message.
		*/
		virtual HandleInput OnKeyInput( const KeyInput& input ) = 0;

		/*!
			\brief		Process mouse input message.
		*/
		virtual HandleInput OnMouseInput( const MouseInput& input ) = 0;

	};

} // namespace xeres
